<!DOCTYPE html>
<html>
<head>
  <meta charset="utf-8">
  <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
    <title>{$system.webname}</title>
    <meta name="generator" content="lizhili team" />
    <meta name="author" content="lizhili team" />
    <meta name="copyright" content="lizhili team." />
    <meta name="description" content="{$system.miaoshu}" />
    <meta name="keywords" content="{$system.keyword}" />
    <link rel="stylesheet" href="__INDEX__layui/css/layui.css">
    <link rel="stylesheet" href="__INDEX__css/index.css">
</head>
<body>
{include file="conn/header" /}
<div class="layui-container">
  <div style="width: 100%">
   <img src="__INDEX__img/br.jpg" style="width: 100%;"></img>
  </div>
</div>
<div class="layui-container" id="box2" style="min-height: 500px">
    <div class="title">
        Product list
    </div>
    <div class="layui-row layui-col-space15">
        {volist name=":lit($id,12)" id="vo"}
        <div class="layui-col-xs6 layui-col-lg3">
            <div class="one">
                <a href="{:url('index/show',['id'=>$vo.id])}" target="_blank"><img src="{$vo.pic|img}"></img></a>
                <a href="{:url('index/show',['id'=>$vo.id])}" target="_blank"> <div class="name">{$vo.title}</div></a>
            </div>
        </div>
        {/volist}
    </div>
</div>
{include file="conn/footer" /}

<style>
    /* 仅当屏幕宽度 ≤ 768px（手机端）时生效 */
@media screen and (max-width: 768px) {

#box2 .title{
    font-size: 35px;
    text-align: center;
    text-transform: uppercase;
    border-bottom: 2px solid #e81123;
    width:100%;
    margin: 30px auto;
}
}
</style>

<!-- body 末尾处引入 layui -->
<script src="__INDEX__layui/layui.js"></script>
<script>
layui.use(function(){


});
</script>
</body>
</html>
